﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BaseData.Domain.Entities
{
    /// <summary>
    /// 菜单实体
    /// </summary>
    public class Menu:BaseModel
    {
        /// <summary>
        /// 主键
        /// </summary>

        [Key]
        public int MenuId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }
        /// <summary>
        /// 菜单Url
        /// </summary>
        public string MenuUrl { get; set; }
        /// <summary>
        /// 父级id
        /// </summary>
        public int PId { get; set; }
        /// <summary>
        /// 排列字段
        /// </summary>
        public int OrderNum { get; set; }
       

    }
}
